from django.conf.urls.defaults import *
from django.conf import settings

from history import views

info = {
    'paginate_by': settings.PAGINATE_BY,
    }

urlpatterns = patterns(
    '',
    url(r'^(?P<content_type>\w+)/(?P<object_id>\w+)/$', views.history_list, name='history_list'),
    url(r'^(?P<content_type>\w+)/(?P<object_id>\w+)/(?P<revision>\d+)/revert/$', views.history_revert, name='history_revert'),
    )
